const state = {
	userInfo: {
		name: 'jack',
		age: 18
	}
}

const mutations = {
	shandle(state) {
		state.userInfo.age += 1
	}
}
const actions = {}
const getters = {}

export default {
	/* 以后只要写模块就必须加上  namespaced: true */
	namespaced: true,
	state,
	mutations,
	actions,
	getters
}

// export default {
// 	state: {},
// 	mutations: {},
// 	actions: {},
// 	getters: {}
// }

// export default {
//   state () {
//     return {

//     }
//   }
// }
